/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package share;

/**
 * Define common macros
 * @author KieuAnh
 */
public class PGMacro
{
    private PGMacro() {}
    
    public static final String DATA = "data";
    public static final String SID = "sid";
    public static final String SIGNED_REQUEST = "signed_request";
    public static final String ERROR_CODE = "error_code";
    
    // ====================== REFACTORED ========================
    public static final String UID = "uid";
    public static final String USER = "user";
    public static final String FRIEND_LIST = "friend_list";
    public static final String COIN = "coin";
    public static final String AVATAR = "avatar";
    public static final String LAST_LOGIN = "last_login";
    public static final String REPEATED_LOGIN_DAY = "repeated_login_day";
    public static final String DB_VERSION = "db_version";
    public static final String LAST_COTE = "last_cote";
    public static class User
    {
        private User() {}
    }
    
    public static final String FID = "friend_id";
    public static final String FRIEND = "friend";
    public static final String PLAY_WITH_FRIEND = "play_with_friend";
    public static final String HELPED_FISH = "helped_fish";
    public static final String STOLEN_EGG = "stolen_egg";
    public static final String NUMBER_FRIEND_HELPED_FISH = "number_helped_fish";
    public static final String NUMBER_FRIEND_STOLEN_EGG = "number_stolen_egg";
    public static final String SNOWMAN = "snowman";
    public static final String NPC_LIST = "npcs";
    public static class Friend
    {
        private Friend() {}
    }
    
    public static final String COTE_ID = "cote_id";
    public static final String COTE = "cote";
    public static final String PENGUIN_ID_LIST = "penguin_id_list";
    public static final String PENGUIN_LIST = "penguin_list";
    
    public static final String BOXEGG_ID = "boxegg_id";
    public static final String BOXEGG = "boxegg";
    
    public static final String PENGUIN_ID = "penguin_id";
    public static final String PENGUIN = "penguin";
    public static final String FISH_LAST_EAT = "fish_last_eat"; // redis, amf
    public static final String TIME_LAST_EAT = "time_last_eat";
    public static final String TIME_LAST_SPAWN = "time_last_spawn";
    public static final String SPAWN_LIMITED_PENGUINS = "spawn_limited";
    
    public static final String EGGS = "eggs";
    public static final String EGG_KIND = "egg_kind";
    public static final String EGG_STORE = "egg_store";
    public static final String EGG_BIRTH = "egg_birth";
    public static final String FAILED_EGGS = "failed_eggs";
    public static final String SUCCESS_EGGS = "success_eggs";
    public static final String FULL_INVENTORY_EGGS = "full_inventory_eggs";
    
    public static final String ITEM_ID = "item_id";
    public static final String NUMBER_ITEM = "number_item";
    public static final String PAYMENT = "payment";
    public static final String PAY_TYPE = "pay_type";
    
    public static final String INVENTORY = "inventory";
    public static final String MAX_INV = "max";
    
    public static final String DOG = "dog";
    public static final String WAKE_ITEM = "wake_item";
    public static final String NEXT_SLEEP = "next_sleep";
    
    public static final String QUEST_ID = "quest_id";
    public static final String QUEST = "quest";
    public static final String QUEST_STATE = "state";
    public static final String QUEST_INDEX = "quest_index";
    public static final String QUEST_COST = "quest_cost";
    public static final String MAIN_QUEST = "main_quest";
    public static final String MAIN_QUEST_INDEX = "index";
    public static final String MAIN_QUEST_STATE = "state";
    public static final String LAST_ACCEPT_LEVEL = "accept_level";
    public static final String QUEST_LINE = "quest_line";
    public static final String ACHIEVEMENTS = "achievements";
    public static final String ACHIEVEMENTS_INDEX = "index";
    public static final String ACHIEVEMENT_ID = "achievement_id";
    public static final String MEDAL = "medal";
    
    public static final String UIDATA = "ui_data";
    public static final String SETTINGS = "settings";
    
    public static final String GIFTS = "gifts";
    public static final String GIFT = "gift";
    public static final String GIFT_ID = "gift_id";
    public static final String PRIZE = "prize";
    public static final String USED_GIFTCODE = "used_gc";
    public static final String GIFT_PRIZE = "prize";
    public static final String PRIZE_ID = "prize_id";
    public static final String PRIZE_DESC = "desc";
    public static final String GIFT_EXPIRED_TIME = "expired_at";
    public static final String RECEIVERS = "receivers";
    public static final String GIFT_TEMPLATE_ID = "gift_template_id";
    public static final String REMAINS_GIFT = "n_remains_gift";
    public static final String GC_GROUP = "group";
    public static final String NUMBER_GIFT_CODE = "n_code";
    public static final String GIFT_CODE_EXPIRED_TIME = "expire";
    public static final String GIFT_TEMPLATE_DATA = "data";
    public static final String GIFT_CODE_ID = "code";
    public static final String RP_SPECIAL_PRIZE = "special";
    public static final String RAND_PRIZE_ID = "prize_id";
    public static final String RP_ITEM_ID = "item_id";
    public static final String RP_TURN_BOUGHT_BY_GOLD = "rp_turn_bought_by_gold";
    public static final String RP_TURN_BOUGHT_BY_COIN = "rp_turn_bought_by_coin";
    
    public static final String MAIL = "mail";
    public static final String MAIL_ID = "mail_id";
    public static final String MAIL_TYPE = "type";
    public static final String MAIL_SEND_TIME = "time";
    public static final String MAIL_SENDER = "sender";
    public static final String MAIL_CONTENT = "content";
    public static final String MAIL_OFFSET = "offset";
    public static final String MAIL_LENGTH = "mail_length";
    public static final String MAIL_DATA = "mail_data";
    public static final String MAIL_IPAR1 = "iPar1";
    public static final String MAIL_IPAR2 = "iPar2";
    public static final String MAIL_TNTPAR1 = "tntPar1";
    public static final String MAIL_TNTPAR2 = "tntPar2";
    public static final String MAIL_TXTPAR1 = "txtPar1";
    public static final String MAIL_TXTPAR2 = "txtPar2";
    public static final String NUMBER_NEW_MAILS = "nunread_mail";
    public static final String NOTIFICATIONS = "notifications";
    
    public static final String PENGUINDEX = "penguindex";
    
    public static final String EXP = "exp";
    public static final String LEVEL = "level"; 
    public static final String KIND = "kind";
    public static final String NAME = "name";
    public static final String FISH = "fish";
    public static final String GOLD = "gold";
    public static final String SUCCESS = "success";
    public static final String FAIL = "fail";
    
    public static final String USER_TEMP_DATA = "temp_data";
    public static final String WAKE_DOG_FIRST_TIME = "wake_dog_first_time";
    public static final String LAST_TIME_SYNC_FRIEND_LIST = "last_sync_friends";
    public static final String RAND_PRIZE_TURN = "rand_prize_turn";
    public static final String RAND_PRIZE_TURN2 = "rand_prize_turn2";
    
    public static final String USER_DAILY_DATA = "daily_data";
    public static final String TAKEN_SNAPSHOT = "taken_snapshot";
    public static final String RECEIVED_LOGIN_PRIZE = "received_login_prize";
    public static final String TAKEN_ADS = "taken_ads";
    
    public static final String ZING_COIN = "zing_coin";
    public static final String ZING_CRE_ID = "zing_cre_id";
    public static final String BILL_NO = "bill_no";
    
    public static final String WHITE_LIST = "whitelist";
    public static final String SYSTEM_LIST = "systemlist";
    
    public static final String NUMBER_OF_MESSAGE = "n_messages";
    public static final String MSG_CONTENT = "content";
    public static final String MSG_EXPIRE = "expire";
    
    public static final String FAILED_ITEMS = "failed_items";
    public static final String SUCCESS_ITEMS = "success_items";
    
    public static final String RELEASE_EVENT = "release_event";
    public static final String EVENT_ID = "event_id";
    public static final String REITEM_ID = "item_id";
    
    public static final String RACE = "race";
    public static final String RACING_START = "start";
    public static final String RACING_END = "end";
    public static final String RACING_CRITERIA = "criteria";
    public static final String RACING_CLOSED = "closed";
    
    public static final String COIN_CARD = "coin_card";
    public static final String CC_START = "start";
    public static final String CC_END = "end";
    public static final String CC_RECEIVED = "received";
    
    public static final String MINIGAME = "minigame";
    public static final String MNG_TURN = "turn";
    public static final String MNG_BUY_TODAY = "today_bougth";
    public static final String MNG_TOKEN = "token";
    public static final String MNG_RESULT = "results";
    public static final String MNG_FREAKING_EGGS_RECORD = "mng_fe_record";
    
    
    public static final String NPC_FIND_EGGS = "npc_find_eggs";
    public static final String FENPC_END_EMPLOY = "end_employ";
    public static final String FENPC_STATE = "state";
    public static final String FENPC_EGG = "egg";
    public static final String FENPC_NEGG = "negg";
    public static final String FENPC_GOLD_PRICE = "gold";
    public static final String FENPC_COIN_PRICE = "coin";
    public static final String FENPC_NEXT_FIND = "next";
    public static final String FENPC_FOUND_TIME = "found";
    public static final String FENPC_OPTIONS = "options";
    public static final String FENPC_SELECTED_OPTIONS = "selected";
    public static final String FENPC_ITEM = "item";
    
    public static final String URGENT_QUEST = "urgent_quest";
    public static final String UQ_TOKEN = "token";
    public static final String UQ_STATE = "state";
    public static final String UQ_NEXT_TIME = "next";
    public static final String UQ_DEADLINE = "deadline";
    public static final String UQ_TOTAL_PRIZE = "total_prize";
    public static final String UQ_PACKS = "packs";
    public static final String UQ_PACK = "pack";
    public static final String UQ_PACK_STATE = "state";
    public static final String UQ_PACK_ACTION = "actions";
    public static final String UQ_PACK_PRIZE = "prize";
    
    //========================= payment ===============================
    public static final String PK_TIME = "TIME";
    public static final String PK_XU = "XU";
    public static final String PK_COIN = "COIN";
    public static final String PACKAGES="PACKAGES";
    public static final String MONTHLYCARD = "MONTHLYCARD";
    public static final String PK_PACKAGE="PACKAGE";
    public static final String PK_ITEMID_REGEX = ";";
    
}